package cn.hs.ph.dao;

import cn.hs.ph.entity.Community;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
    // 增加
    public int insert(Community community);

    // 删除
    public int delete(int communityId);

    // 修改
    public int update(Community community);

    // 查询
    public List<Community> selectAll(Map<String, String> map);

    // 查询总条数
    public int selectCount(Map<String, String> map);
    //更改关联门店数量

    public int updateShopCount(int count, int communityId);
}
